package com.deer.wms.base.system.service.zh.impl;

import com.deer.wms.base.system.dao.zh.ShelfFaultDescriptionMapper;
import com.deer.wms.base.system.model.zh.ShelfFaultDescription;
import com.deer.wms.base.system.model.zh.ShelfPlan;
import com.deer.wms.base.system.service.zh.ShelfFaultDescriptionService;
import com.deer.wms.common.core.service.AbstractService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 李帅辰
 * @date 2021/6/1 18:03
 */
@Service
public class ShelfFaultDescriptionServiceImpl extends AbstractService<ShelfFaultDescription,Integer> implements ShelfFaultDescriptionService {

    @Autowired
    private ShelfFaultDescriptionMapper shelfFaultDescriptionMapper;
    @Override
    public List<ShelfFaultDescription> findShelfFaultDescriptionList(ShelfFaultDescription shelfFaultDescription) {
        return shelfFaultDescriptionMapper.findShelfFaultDescriptionList(shelfFaultDescription);
    }

    @Override
    public int saveShelfFaultDescription(ShelfFaultDescription shelfFaultDescription) {
        return shelfFaultDescriptionMapper.saveShelfFaultDescription(shelfFaultDescription);
    }
}
